
#pragma once
#include "lib.h"
#include "TextQuery.h"
#include "query.h"
#include "mytest.h"

void test(father &fa) {
	father fa2 = fa;
	fa.f();
	fa2.f();
}

int main() {
	son s;
	s.f();
	test(s);

	/*ifstream file("../data/test.txt");

	TextQuery text(file);*/
	//Query q = Query("fiery") & Query("bird") | Query("wind");
	//cout << q << endl << q.eval(tq);

	//QueryHistory history;
	//Query q0("Alice");
	//Query q1("hair");
	//Query q2("Daddy");

	//history.add_query(q0);
	//history.add_query(q1);
	//history[0] = history[0] | q2;

	//auto result = history[0].eval(text);
	//cout << result;
	return 0;
}